package com.neusoft.neuiotms.dcam.fixed.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.neusoft.bizcore.web.bean.TreeBean;
import com.neusoft.bizcore.web.support.Searchable;
import com.neusoft.neuiotms.dcam.fixed.dto.AssetTypeDTO;

public interface AssetTypeService {

    List<AssetTypeDTO> findAll();

    Page<AssetTypeDTO> search(Pageable pageable, Searchable searchable);

    AssetTypeDTO details(final Long id);

    AssetTypeDTO create(final AssetTypeDTO dto);

    AssetTypeDTO update(final Long id, final AssetTypeDTO dto);

    void delete(final Long id);

    List<TreeBean> tree();

}
